Skip to content

Fix: Standardize CI change-detection filters and fix power_ups path typo#702

Merged
TalShafir1 merged 2 commits intochronicle:mainfrom
eranc-google:fix/ci-power-ups-path-typo
Apr 21, 2026
Merged

Fix: Standardize CI change-detection filters and fix power_ups path typo#702
TalShafir1 merged 2 commits intochronicle:mainfrom
eranc-google:fix/ci-power-ups-path-typo

Conversation

@eranc-google
Copy link
Copy Markdown
Contributor

@eranc-google eranc-google commented Apr 21, 2026

Summary

Bug fix: Path filters in 5 workflow files referenced power_up/ instead of the correct power_ups/ directory, causing validate/build/lint/code-check/Windows CI jobs to silently skip for power_ups/ integrations (e.g., git_sync in PR #686).

Standardization: Split the mp dorny/paths-filter into mp (packages/mp/**) and ci (.github/workflows/**) so workflow-only changes no longer trigger full integration validate/build/test runs (~15 min on Windows, ~5 min on Linux). Also standardized filter definitions across all workflows.

Skip labels: Added PR label-based skipping for expensive CI jobs.

Changes

File What changed
validate.yml Fix power_ups typo. Remove .github/workflows/** from paths + mp filter. Fix stale comment.
build.yml Fix power_ups typo. Remove .github/workflows/** from paths + mp filter. Add skip-build + ci-minimal label support.
lint.yml Fix power_ups typo. Remove .github/workflows/** from paths. Consolidate package filters into integration_packages. Add mp to lint job conditions.
third_party_code_check.yml Fix power_ups typo (2 occurrences).
windows_workflows.yml Fix power_ups typo. Add top-level paths: filter. Split mp/ci filters. Add missing integration_testing_whls. Add skip-windows + ci-minimal label support (keeps test-mp-windows running).
test.yml Remove .github/workflows/** from paths + mp filter. Add skip-tests + ci-minimal label support.
test_mp.yml Add .github/workflows/** to paths so mp tests run on CI changes.
.gitignore Add .claude/ directory.

CI skip labels

After merge, create these labels in the repo:

Label Skips Use case
ci-minimal Windows integration pipeline + tests + builds Draft PRs, quick iterations, CI-only changes
skip-windows Windows integration validate/test/build (keeps test-mp-windows) When Linux CI is sufficient
skip-tests Integration test suite (test.yml) Iterating on mp/package internals
skip-build All build jobs (build.yml) When validate + lint is enough

Trigger behavior after this change

Change mp tests Integration lint Integration validate/build/test Playbook validate/build
packages/mp/** YES YES YES YES
.github/workflows/** YES NO NO NO
packages/{envcommon,tipcommon,...}/** NO YES YES NO
content/.../google/** NO YES YES NO
content/.../third_party/** or power_ups/** NO YES YES YES
content/playbooks/** NO NO NO YES

Checklist

  • I have read and followed the project's contributing guide
  • My code follows the project's coding style guidelines
  • I have performed a self-review of my own code
  • My changes do not introduce any new warnings
  • My changes pass all existing tests
  • My changes do not introduce any PII or sensitive customer data
  • My changes do not expose any internal-only code examples, configurations, or URLs
  • All code examples, comments, and messages are generic and suitable for a public repository

Test plan

  • Branch protection: only CodeQL is a required status check - none of the modified job names are required
  • This PR only changes .github/workflows/** + .gitignore - only test_mp.yml and windows_workflows.yml test-mp-windows should trigger real work
  • All review agents confirmed changes are correct across all workflow files
  • Skip labels use push-event guards (github.event_name != 'pull_request') where needed

The path filters in 5 workflow files referenced `power_up/` instead of
`power_ups/`, causing validate, build, lint, code check, and Windows
CI jobs to silently skip when power_ups integrations were modified.
This allowed PR chronicle#686 to pass CI without version bump or release notes
validation.
@eranc-google eranc-google requested a review from a team as a code owner April 21, 2026 09:05
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@TalShafir1 TalShafir1 merged commit 3d3cc39 into chronicle:main Apr 21, 2026
35 of 36 checks passed
@eranc-google eranc-google changed the title Fix: CI path filter typo silently skipping all checks for power_ups integrations Fix: Standardize CI change-detection filters and fix power_ups path typo Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants